WIN

Section: Misc. Reference Manual Pages (3x)
Updated: 19 Dec 1995
Index Return to Main Contents
 

WinLIB STRUCTURE

typedef struct _winstruct (or WIN for short) .SHSTRUCTURE ELEMENTS The WIN structure contains all elements that pertain to a window. These are:

win, and workwin which point to WINDOW structures containing window and work-window data structures. The work-window is the window that can be used by the programmer or by the user to manipulate and display data, where the window (non-work) is reserved for the library. Although you can manipulate the window data, it's generally not a good idea.

pan, and workpan which point to PANEL structures containing panel data about window and the work-window. These must not be changed, as they are used in conjunction with the libpanel's update_panel library function call.

callback is a (void *) pointer to the callback. If no callback is present, this is NULL.

title is the (char *) pointer to the title of the window.

mode, and index are both ints, which contain data about what modes the window has, and what self-assigned index the window is. The self-assigned index is (again) used only by the library.

prev and next point to the previous and next windows in the window chain. .SHSEE ALSO MENU(3X), panel(3X), ncurses(3X)


 

Index

WinLIB STRUCTURE

This document was created by man2html, using the manual pages.
Time: 16:52:36 GMT, November 05, 2024